<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <style>
      .father {
        background-color: aquamarine;
        border: 3px solid tomato;
        /* height: 150px; */
        overflow: hidden;
      }

      .left-son {
        width: 100px;
        height: 100px;
        background-color: blueviolet;

        float: left;
      }

      .right-son {
        width: 100px;
        height: 100px;
        background-color: yellowgreen;

        float: right;
      }
    </style>
  </head>
  <body>
    <div class="father">
      <div class="left-son">左浮动</div>
      <div class="right-son">右浮动</div>
    </div>

    <div class="father">
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="left-son">左浮动</div>
      <div class="right-son">右浮动</div>
    </div>

    <div class="father">
      <div class="left-son">左浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
      <div class="right-son">右浮动</div>
    </div>
  </body>
</html>
